package com.property.management.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.property.common.annotation.Excel;
import com.property.common.core.domain.BaseEntity;

/**
 * 车位信息对象 carport_info
 * 
 * @author property
 * @date 2021-05-06
 */
public class CarportInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 车位状态 */
    @Excel(name = "车位状态")
    private String parkStatus;

    /** 车位位置 */
    private String parkLocation;

    /** 车位号码 */
    @Excel(name = "车位号码")
    private String parkNo;

    /** 车位主人门牌号 */
    private String parkOwner;

    /** 车位类型 */
    @Excel(name = "车位类型")
    private String parkOwnerType;

    /** 车位到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "车位到期时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date parkExpireDate;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String parkCarNo;

    /** 车位所属小区 */
    private Integer parkCourtId;

    /** 删除标志 */
    private Integer isDel;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setParkStatus(String parkStatus) 
    {
        this.parkStatus = parkStatus;
    }

    public String getParkStatus() 
    {
        return parkStatus;
    }
    public void setParkLocation(String parkLocation) 
    {
        this.parkLocation = parkLocation;
    }

    public String getParkLocation() 
    {
        return parkLocation;
    }
    public void setParkNo(String parkNo) 
    {
        this.parkNo = parkNo;
    }

    public String getParkNo() 
    {
        return parkNo;
    }
    public void setParkOwner(String parkOwner) 
    {
        this.parkOwner = parkOwner;
    }

    public String getParkOwner() 
    {
        return parkOwner;
    }
    public void setParkOwnerType(String parkOwnerType) 
    {
        this.parkOwnerType = parkOwnerType;
    }

    public String getParkOwnerType() 
    {
        return parkOwnerType;
    }
    public void setParkExpireDate(Date parkExpireDate) 
    {
        this.parkExpireDate = parkExpireDate;
    }

    public Date getParkExpireDate() 
    {
        return parkExpireDate;
    }
    public void setParkCarNo(String parkCarNo) 
    {
        this.parkCarNo = parkCarNo;
    }

    public String getParkCarNo() 
    {
        return parkCarNo;
    }
    public void setParkCourtId(Integer parkCourtId) 
    {
        this.parkCourtId = parkCourtId;
    }

    public Integer getParkCourtId() 
    {
        return parkCourtId;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parkStatus", getParkStatus())
            .append("parkLocation", getParkLocation())
            .append("parkNo", getParkNo())
            .append("parkOwner", getParkOwner())
            .append("parkOwnerType", getParkOwnerType())
            .append("parkExpireDate", getParkExpireDate())
            .append("parkCarNo", getParkCarNo())
            .append("parkCourtId", getParkCourtId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDel", getIsDel())
            .toString();
    }
}
